package com.nulldev.util.net.irc;

import java.util.ArrayList;
import java.util.List;

import com.nulldev.util.net.irc.commands.Join;
import com.nulldev.util.net.irc.commands.Kick;
import com.nulldev.util.net.irc.commands.Mode;
import com.nulldev.util.net.irc.commands.Nick;
import com.nulldev.util.net.irc.commands.Notice;
import com.nulldev.util.net.irc.commands.Part;
import com.nulldev.util.net.irc.commands.Ping;
import com.nulldev.util.net.irc.commands.Privmsg;
import com.nulldev.util.net.irc.commands.Quit;
import com.nulldev.util.net.irc.commands.Topic;

public class CommandHandlers {
	public static final List<Connection.CommandHandler> list = new ArrayList<Connection.CommandHandler>(3);

	static {
		if (list.isEmpty()) {
			list.add(new Ping());
			list.add(new Join());
			list.add(new Privmsg());
			list.add(new Notice());
			list.add(new Part());
			list.add(new Quit());
			list.add(new Topic());
			list.add(new Nick());
			list.add(new Kick());
			list.add(new Mode());
			list.add(new com.nulldev.util.net.irc.commands.Error());
		}
	}
}
